<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!-- href: 目标 URL -->
  <p>href</p>
  <a href="https://example.com">href="https://example.com"</a>

  <!--
    target: 在哪里加载目标 URL
     ● _self: 当前页面
     ● _blank: 新标签页
  -->
  <p>target</p>
  <a href="https://example.com" target="_self">target="_self"</a>
  <a href="https://example.com" target="_blank">target="_blank"</a>
</body>

</html>